#!/bin/bash
mkdir /opt/install
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-python-4.11.3-45.el7.x86_64.rpm -P /opt/install
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-python-4.11.3-45.el7.x86_64.rpm -P /opt/install
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-4.11.3-45.el7.x86_64.rpm -P /opt/install
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-2.7.5-89.el7.x86_64.rpm -P /opt/install
 wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-backports-1.0-8.el7.x86_64.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-chardet-2.2.1-3.el7.noarch.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-devel-2.7.5-89.el7.x86_64.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm -P /opt/install
 wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-ipaddress-1.0.16-2.el7.noarch.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/libxml2-python-2.9.1-6.el7.5.x86_64.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/libxml2-devel-2.9.1-6.el7.5.x86_64.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-ipaddress-1.0.16-2.el7.noarch.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-kitchen-1.1.1-5.el7.noarch.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-kitchen-doc-1.1.1-5.el7.noarch.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-libs-2.7.5-89.el7.x86_64.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-libsss_nss_idmap-1.16.5-10.el7.x86_64.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-pycurl-7.19.0-19.el7.x86_64.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-setuptools-0.9.8-7.el7.noarch.rpm -P /opt/install
 wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-urlgrabber-3.10-10.el7.noarch.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-virtualenv-15.1.0-4.el7_7.noarch.rpm -P /opt/install
    wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-4.11.3-45.el7.x86_64.rpm -P /opt/install
    wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-build-4.11.3-45.el7.x86_64.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-build-libs-4.11.3-45.el7.x86_64.rpm -P /opt/install
    wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-libs-4.11.3-45.el7.x86_64.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-python-4.11.3-45.el7.x86_64.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-sign-4.11.3-45.el7.x86_64.rpm -P /opt/install
    wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-3.4.3-168.el7.centos.noarch.rpm -P /opt/install
    wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-aliases-1.1.31-54.el7_8.noarch.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-auto-update-debug-info-1.1.31-54.el7_8.noarch.rpm -P /opt/install
    wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch.rpm -P /opt/install
    wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-protectbase-1.1.31-54.el7_8.noarch.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-remove-with-leaves-1.1.31-54.el7_8.noarch.rpm -P /opt/install
    wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-keys-1.1.31-54.el7_8.noarch.rpm -P /opt/install
    wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-upgrade-helper-1.1.31-54.el7_8.noarch.rpm -P /opt/install
    wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-utils-1.1.31-54.el7_8.noarch.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/libxml2-2.9.1-6.el7.5.x86_64.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-rpm-macros-3-34.el7.noarch.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python2-rpm-macros-3-34.el7.noarch.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/libsss_nss_idmap-1.16.5-10.el7.x86_64.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/libsss_nss_idmap-devel-1.16.5-10.el7.x86_64.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-srpm-macros-3-34.el7.noarch.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/elfutils-0.176-5.el7.x86_64.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/elfutils-libelf-0.176-5.el7.x86_64.rpm -P /opt/install
  wget http://mirrors.163.com/centos/7/os/x86_64/Packages/elfutils-libs-0.176-5.el7.x86_64.rpm -P /opt/install
   wget http://mirrors.163.com/centos/7/os/x86_64/Packages/elfutils-default-yama-scope-0.176-5.el7.noarch.rpm -P /opt/install
   cd /opt/install && rpm -Uvh --replacepkgs *.rpm --nodeps --force && yum makecache
rm -rf  /opt/install
